/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.biotecan.easywgs.domain;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author SuFeng
 */
public class Library {

    private String name;

    private List<Lane> lanes = new ArrayList<>();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Lane> getLanes() {
        return lanes;
    }

    public void setLanes(List<Lane> lanes) {
        this.lanes = lanes;
    }

    public Library(String name) {
        this.name = name;
    }

    public Library() {
    }

    public void addLane(Lane lane) {
        this.lanes.add(lane);
    }

    @Override
    public String toString() {
        return "Library{" + "name=" + name + ", lanes=" + lanes + '}';
    }

    
}
